package cn.bdqn.vo;

//前后台的数据交互问题，需要用到View和Object之间进行传值
public class ResultVo {
	
	private Integer code;    //状态码
	private String message;  //信息
	private Object data;     //数据
	
	public ResultVo() {
	}

	public ResultVo(Integer code, String message, Object data) {
		this.code = code;
		this.message = message;
		this.data = data;
	}
	
	@Override
	public String toString() {
		return "ResultVo [code=" + code + ", message=" + message + ", data=" + data + "]";
	}
	
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}

}
